<template>
  <div>

    <h1 style="margin-left: 10px;color: black"">动物信息</h1>
    <el-divider></el-divider>
    <div style="margin-left: 50px;color: black">
      <h3>动物ID：{{animalData.aAnimalId}}</h3>
      <h3>动物体重：{{animalData.aWeight}}(KG)</h3>
      <h3>动物性别：{{animalData.aGender}}</h3>
      <h3>健康状况：{{animalData.aHealthy}}</h3>
      <h3>检疫情况：{{animalData.aStatus}}</h3>
      <h3>接种情况：{{animalData.aInoculate}}</h3>
      <h3>录入时间：{{animalData.aTime}}</h3>
    </div>
    <el-divider></el-divider>

  </div>
</template>

<script>
import {findByAnimalId} from '@/api/ptsBase/animal'
export default {
  data() {
    return {
      animalData: {}
    }
  },
  mounted() {
    this.getList();
  },
  methods:{
    getList(){
      findByAnimalId(this.$route.query.animalId).then(resp =>{
        console.log(resp.data)
        this.animalData = resp.data
      })
      this.loading = false;
    },
  }
}
</script>
<style>

</style>
